#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int lt2_5(){
	const int INF = 1000000000;
	int min = INF, max = -INF,sum=0 ;
	int x,n=0;
	double avg;
	while (scanf("%d", &x) == 1)
	{
		if (x > max){
			max = x;
		}
		if (x < min){
			min = x;
		}
		n++;
		sum += x;
		
	}
	avg = (double)sum / n;
	printf("%d %d %.3f\n",min,max,avg);

	return 0;
}